package com.ray.bean;

import lombok.Data;

import java.util.List;

@Data
//qc结果主信息
public class QCResultMain {
    private Integer id;
    private String companyId;
    private String checkReportNo;//检测编号
    private String purhaseId;//采购编号
    private Double qualityCount;//合格数
    private Double noQualityCount;//不合格数
    private String evaluateDesc;//检验评语
    private Integer conclusion;//检验结论 1整批接受 2部分接受 3特采整批接受 4特采部分接受 5不接受
    //整批接受是否是指不管合格不合格都入库，部分接受是否是值只接受合格的其他的不接受
    private Integer isNeedApproval;//是否需要审核 1需要 2不需要  是否需要审核在哪设置
    private Integer status;//状态 0待审核 1已审核 2已退回  若不需要审核，创建即审核状态
    private Integer createUserId;//创建人
    private String createUserName;//创建人姓名
    private String createTime;// 创建时间
    private Integer approvalUserId;//审核人id
    private String approvalName;//审核人姓名
    private String approvalTime;//审核时间
    private List<QCResultBean> resultDetailList;//检验结果明细




    private Double purchaseCount;
    private String orderId;
    private String companyOrderId;
    private String factoryId;
    private String customerId;
    private String materialName;
    private String providerNo;
    private String providerName;
    private String colorDescription;
    private String materialType;

}
